<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>多人订票</title>
    </head>
    <body>
        <div id="booking_tickets">
        </div>
        <script>
            var app_flag = "<%=@app_flag%>";
            var group_flag = "<%=@group_flag%>";

            var addMul_trip_type = "<%=@trip_type%>";
            var addMul_customer_id = "<%=@customer.id%>";
            var addMul_customer_name = "<%=@customer.name %>";
            var addMul_address = "<%=@customer.address%>";
            var paramStr = "customerid=" + addMul_customer_id + "&group_flag=" + group_flag + "&airNo=<%=@airNo%>&fromto=<%=@fromto%>&fly_date=<%=@fly_date%>&position=<%=@position%>&fly_time=<%=@fly_time%>&arr_time=<%=@arr_time%>&plane_type=<%=@plane_type%>&price=<%=@price%> ";
            var flightInfoStr = "<%=@airNo %> <%=@fly_date %> <%=@position %>舱 <%=@from_city %> <%=@fly_time %> <%=@to_city %> <%=@arr_time %> <%=@plane_type %> <%=@price %>.00 元";
            var flightInfoStr2 = "";
            var flightInfoStr3 = "";
            var flightInfoStr4 = "";
            if (addMul_trip_type != "") {
                flightInfoStr2 = "<%=@airNo2 %> <%=@fly_date2 %> <%=@position2 %>舱 <%=@from_city2 %> <%=@fly_time2 %> <%=@to_city2 %> <%=@arr_time2 %> <%=@plane_type2 %> <%=@price2 %>.00 元";
                paramStr += "&trip_type=<%=@trip_type%>&airNo2=<%=@airNo2%>&fromto2=<%=@fromto2%>&fly_date2=<%=@fly_date2%>&position2=<%=@position2%>&fly_time2=<%=@fly_time2%>&arr_time2=<%=@arr_time2%>&plane_type2=<%=@plane_type2%>&price2=<%=@price2%> ";
                if (addMul_trip_type == "wflc"){
                    flightInfoStr3 = "<%=@airNo3 %> <%=@fly_date3 %> <%=@position3 %>舱 <%=@from_city3 %> <%=@fly_time3 %> <%=@to_city3 %> <%=@arr_time3 %> <%=@plane_type3 %> <%=@price3 %>.00 元";
                    paramStr += "&airNo3=<%=@airNo3%>&fromto3=<%=@fromto3%>&fly_date3=<%=@fly_date3%>&position3=<%=@position3%>&fly_time3=<%=@fly_time3%>&arr_time3=<%=@arr_time3%>&plane_type3=<%=@plane_type3%>&price3=<%=@price3%> ";
                    flightInfoStr4 = "<%=@airNo4 %> <%=@fly_date4 %> <%=@position4 %>舱 <%=@from_city4 %> <%=@fly_time4 %> <%=@to_city4 %> <%=@arr_time4 %> <%=@plane_type4 %> <%=@price4 %>.00 元";
                    paramStr += "&airNo4=<%=@airNo4%>&fromto4=<%=@fromto4%>&fly_date4=<%=@fly_date4%>&position4=<%=@position4%>&fly_time4=<%=@fly_time4%>&arr_time4=<%=@arr_time4%>&plane_type4=<%=@plane_type4%>&price4=<%=@price4%> ";
                }
            }
        </script>
        <%= javascript_include_tag "/javascripts/orders/addMulOrder.js" %>
    </body>
</html>
